<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
  File: README
  
    &mdash; Documentation by YARD 0.8.7.6
  
</title>

  <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />

  <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />

<script type="text/javascript" charset="utf-8">
  hasFrames = window.top.frames.main ? true : false;
  relpath = '';
  framesUrl = "frames.html#!file.README.html";
</script>


  <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>

  <script type="text/javascript" charset="utf-8" src="js/app.js"></script>


  </head>
  <body>
    <div id="header">
      <div id="menu">
  
    <a href="_index.html">Index</a> &raquo; 
    <span class="title">File: README</span>
  

  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>

      <div id="search">
  
    <a class="full_list_link" id="class_list_link"
        href="class_list.html">
      Class List
    </a>
  
    <a class="full_list_link" id="method_list_link"
        href="method_list.html">
      Method List
    </a>
  
    <a class="full_list_link" id="file_list_link"
        href="file_list.html">
      File List
    </a>
  
</div>
      <div class="clear"></div>
    </div>

    <iframe id="search_frame"></iframe>

    <div id="content"><div id='filecontents'>
<h1 id="label-denkovi_daenetip2">denkovi_daenetip2</h1>

<p>Ruby gem to control a DENKOVI DaenetIP2</p>

<p>To install <code>gem install denkovi_daenetip2</code></p>

<p>To use:&lt;br/&gt; <code>irb</code>&lt;br/&gt; <code>require
&#39;denkovi_daenetip2&#39;</code>&lt;br/&gt; <code>=&gt;
true</code>&lt;br/&gt; <code>dae =
DaenetIP2.new("[daenetip2_IP]&quot;,[daenetip2_PORT],&quot;[SNMP_read_write_c</code>&lt;br/&gt;
<code>=&gt; true</code>&lt;br/&gt;</p>

<p>To read P6:</p>

<p><code>dae.read(1)</code>&lt;br/&gt; <code>=&gt; 1020</code>&lt;br/&gt;</p>

<p>To write P3</p>

<p><code>dae.write(&#39;p3&#39;, [RELAY],[VALUE])</code>&lt;br/&gt;
<code>dae.write(&#39;p3&#39;,1,0)</code>&lt;br/&gt; <code>=&gt;
true</code>&lt;br/&gt;</p>

<p>To write P5</p>

<p><code>dae.write(&#39;p5&#39;, [RELAY],[VALUE])</code>&lt;br/&gt;
<code>dae.write(&#39;p5&#39;,1,0)</code>&lt;br/&gt; <code>=&gt;
true</code>&lt;br/&gt;</p>

<p>To close</p>

<p><code>dae.close</code>&lt;br/&gt; <code>=&gt; true</code>&lt;br/&gt;</p>
</div></div>

    <div id="footer">
  Generated on Tue Nov 24 18:27:58 2015 by
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  0.8.7.6 (ruby-2.1.0).
</div>

  </body>
</html>